package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.Sign;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SignMapper {


    int insert(Sign record);

    Sign selectByPrimaryKey(Long id);

    List<Sign> selectAll();

    int updateByPrimaryKey(Sign record);

    Sign selectIntAndDay(Long user_id);

    Sign selectIntByuserId(Long userId);

    void updateIntegral(@Param("userId") Long userId, @Param("cc") int cc);
}